* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header Styles */
.pamphlet-header {
    background: linear-gradient(135deg, #1a237e 0%, #283593 50%, #e53935 100%);
    color: white;
    padding: 60px 0 40px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.pamphlet-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,128L48,144C96,160,192,192,288,186.7C384,181,480,139,576,138.7C672,139,768,181,864,197.3C960,213,1056,203,1152,186.7C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
    animation: wave 15s linear infinite;
}

@keyframes wave {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-5%);
    }

    100% {
        transform: translateX(0);
    }
}

.pamphlet-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    animation: fadeInDown 1s ease-out;
}

.pamphlet-header .subtitle {
    font-size: 18px;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    position: relative;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.breadcrumb {
    position: relative;
    margin-top: 10px;
    animation: fadeIn 1s ease-out 0.6s both;
}

.pamphlet-header a {
    display: inline-block;
    font-size: 14px;
    color: #fff;
    opacity: 0.85;
    text-decoration: none;
    transition: opacity 0.3s;
}

.pamphlet-header a:hover {
    opacity: 1;
}

.pamphlet-header a i {
    margin-right: 5px;
}

/* Global Presence Section */
.global-presence {
    padding: 40px 0;
    width: 100%;
    margin: 0 auto;
    flex: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    padding: 0 20px;
}

.section-title h2 {
    font-size: 32px;
    color: #1a237e;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #1a237e, #e53935);
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Interactive World Map */
.world-map-section {
    margin: 40px 0;
    text-align: center;
    width: 100%;
}

.world-map-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 30px 0;
}

.world-map-title {
    font-size: 28px;
    color: #1a237e;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    padding: 0 20px;
}

.world-map-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, #1a237e, #e53935);
}

.map-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    margin: 5px 0;
    padding: 8px 15px;
    background: white;
    border-radius: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 10px;
}

.legend-blue {
    background: #1a237e;
}

.legend-red {
    background: #e53935;
}

.legend-green {
    background: #43a047;
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    background: #e8f4f8;
    overflow: hidden;
    margin: 10px auto;
    border-radius: 10px;
}

#world-map-svg {
    width: 100%;
    height: 100%;
}

/* Updated Country Styles - White with Red/Blue Borders */
.country {
    fill: #ffffff;
    /* White fill for all countries */
    stroke: #e53935;
    /* Red border by default */
    stroke-width: 0.5;
    transition: all 0.3s ease;
    cursor: pointer;
}

.country:hover {
    fill: #f0f0f0;
    /* Slightly darker on hover */
    stroke-width: 1.5;
}

.country.active {
    fill: #f5f5f5;
    /* Slightly darker for active state */
    stroke-width: 2;
}

/* Countries with our presence get blue borders */
.country.market-office {
    stroke: #1a237e;
    /* Blue border for markets & offices */
    stroke-width: 1.5;
}

.country.market {
    stroke: #e53935;
    /* Red border for markets */
    stroke-width: 1.5;
}

.country.corporate {
    stroke: #43a047;
    /* Green border for corporate offices */
    stroke-width: 2;
    /* Thicker border for corporate offices */
}

/* Map Points - Smaller Size */
.map-points-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.map-point {
    position: absolute;
    width: 10px;
    /* Smaller size */
    height: 10px;
    /* Smaller size */
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    animation: pulse 2s infinite;
    pointer-events: all;
}

.map-point.blue {
    background: #1a237e;
    box-shadow: 0 0 0 2px rgba(26, 35, 126, 0.4);
    /* Smaller shadow */
}

.map-point.red {
    background: #e53935;
    box-shadow: 0 0 0 2px rgba(229, 57, 53, 0.4);
    /* Smaller shadow */
}

.map-point.green {
    background: #43a047;
    box-shadow: 0 0 0 2px rgba(67, 160, 71, 0.4);
    /* Smaller shadow */
}

.map-point:hover {
    transform: translate(-50%, -50%) scale(1.8);
    /* Slightly larger on hover */
    z-index: 100;
    animation: none;
}

.map-point::after {
    content: attr(data-country);
    position: absolute;
    bottom: 18px;
    /* Adjusted for smaller dot */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 6px 12px;
    /* Smaller padding */
    border-radius: 6px;
    font-size: 12px;
    /* Smaller font */
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 1000;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.map-point:hover::after {
    opacity: 1;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(26, 35, 126, 0.7);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(26, 35, 126, 0);
        /* Smaller pulse */
    }

    100% {
        box-shadow: 0 0 0 0 rgba(26, 35, 126, 0);
    }
}

.map-point.red {
    animation: pulseRed 2s infinite;
}

@keyframes pulseRed {
    0% {
        box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.7);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(229, 57, 53, 0);
        /* Smaller pulse */
    }

    100% {
        box-shadow: 0 0 0 0 rgba(229, 57, 53, 0);
    }
}

.map-point.green {
    animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
    0% {
        box-shadow: 0 0 0 0 rgba(67, 160, 71, 0.7);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(67, 160, 71, 0);
        /* Smaller pulse */
    }

    100% {
        box-shadow: 0 0 0 0 rgba(67, 160, 71, 0);
    }
}

/* Country Info Panel - Updated with Close Button */
.country-info {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    padding: 25px 20px 20px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    max-width: 300px;
    z-index: 1000;
    display: none;
    border-left: 4px solid #1a237e;
    transition: all 0.3s ease;
}

.country-info h3 {
    color: #1a237e;
    margin-bottom: 10px;
    font-size: 20px;
    padding-right: 20px;
}

.country-info p {
    margin-bottom: 10px;
    color: #666;
    line-height: 1.5;
}

.country-info .presence-type {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    color: white;
    font-size: 12px;
    font-weight: bold;
    margin-top: 10px;
}

/* Close button for country info panel */
.country-info .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.country-info .close-btn:hover {
    color: #333;
    background-color: #f0f0f0;
    transform: rotate(90deg);
}

.country-info .close-btn:focus {
    outline: none;
}

.presence-blue {
    background: #1a237e;
}

.presence-red {
    background: #e53935;
}

.presence-green {
    background: #43a047;
}

/* Stats Section (Commented out in HTML) */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #1a237e;
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-size: 16px;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .pamphlet-header h1 {
        font-size: 32px;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .map-wrapper {
        height: 50vh;
        min-height: 400px;
    }

    .map-legend {
        gap: 15px;
    }

    .legend-item {
        padding: 6px 12px;
        font-size: 14px;
    }

    .country-info {
        position: relative;
        top: auto;
        right: auto;
        margin: 20px;
        max-width: calc(100% - 40px);
        width: calc(100% - 40px);
    }

    .world-map-container {
        padding: 20px 0;
    }

    .map-point {
        width: 8px;
        /* Even smaller on mobile */
        height: 8px;
        /* Even smaller on mobile */
    }
    
    .country-info .close-btn {
        top: 8px;
        right: 12px;
        width: 25px;
        height: 25px;
        font-size: 20px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .country-info {
        padding: 20px 15px 15px 15px;
    }
    
    .country-info h3 {
        font-size: 18px;
    }
    
    .country-info p {
        font-size: 14px;
    }
    
    .map-point {
        width: 6px;
        height: 6px;
    }
    
    .map-point::after {
        font-size: 10px;
        padding: 4px 8px;
        bottom: 14px;
    }
}

/* Tablet devices */
@media (min-width: 769px) and (max-width: 1024px) {
    .country-info {
        max-width: 250px;
        padding: 20px 15px 15px 15px;
    }
    
    .country-info h3 {
        font-size: 18px;
    }
}

/* Landscape orientation for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .map-wrapper {
        height: 70vh;
        min-height: 300px;
    }
    
    .country-info {
        max-width: 250px;
        padding: 15px 12px 12px 12px;
    }
    
    .country-info h3 {
        font-size: 16px;
        margin-bottom: 5px;
    }
    
    .country-info p {
        font-size: 12px;
        margin-bottom: 5px;
    }
}

/* High-resolution screens */
@media (min-width: 1440px) {
    .country-info {
        max-width: 350px;
        padding: 30px 25px 25px 25px;
    }
    
    .country-info h3 {
        font-size: 24px;
    }
    
    .country-info p {
        font-size: 16px;
    }
    
    .country-info .presence-type {
        font-size: 14px;
        padding: 6px 15px;
    }
}